<extend name="Public/List/Common"/>
<block name="pageHeader">
    <include file="Public/List/Header/header.search.add.batchDel" add-data-width="data-width='700'" add-data-height="data-height='400'" add-title="添加模型"/>
</block>
<block name="pageContent">
    <div class="bjui-pageContent tableContent">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th>
                    模型ID
                </th>
                <th>
                    模型标识
                </th>
                <th>
                    模型名称
                </th>
                <th>
                    创建时间
                </th>
                <th>
                    状态
                </th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>

            <volist name="modelList" id="vo">

                <tr>
                    <td>
                        {$vo.id}
                    </td>
                    <td>
                        {$vo.name}
                    </td>
                    <td>
                        {$vo.title}
                    </td>
                    <td>
                        {$vo.create_time|time_format}
                    </td>
                    <td>
                        {$vo.status|columnToName="DEFAULE_STATUS",###}
                    </td>
                    <td>
                        <a href="{:U('customForm?id='.$vo['id'])}" class="btn btn-blue" data-toggle="navtab" data-id="customForm{$vo.name}{$vo.id}" data-title="{$vo.name}-定制表单">定制表单</a>
                        <a href="{:U('edit?id='.$vo['id'])}" class="btn btn-green" data-toggle="navtab" data-id="edit{$vo.name}{$vo.id}" data-title="{$vo.name}-模型编辑">编辑</a>
                        <a href="{:U('del?ids='.$vo['id'])}" class="btn btn-red" data-toggle="doajax">删除</a>
                    </td>
                </tr>

            </volist>

            </tbody>
        </table>
    </div>
</block>